package com.example.crawler.mapper;

import com.example.crawler.entity.SchoolInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * com.example.crawler.mapper
 *
 * @author 白雨浓
 * date: 17-10-28 下午3:39
 * content:
 */
@Mapper
@Repository
public interface SchoolInfoMapper {

    boolean insert(SchoolInfoEntity entity);

    List<SchoolInfoEntity> select(@Param("start") int start, @Param("size") int size);
}
